﻿using System;

namespace mojoPortal.Web.RS.Controls
{
    public partial class ModalIFrameControl : RSBaseUserControl
    {

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public void ShowModal(string url, string width, string height)
        {
            _iframe.Attributes["src"] = url;
            _iframe.Attributes["width"] = width;
            _iframe.Attributes["height"] = height;
            mpeModalActionMessageResult.Show();
        }

        protected void btnModalOK_Click(Object sender, EventArgs e)
        {
            mpeModalActionMessageResult.Hide();
        }
    }
}